# BatchInstall.py

import os

libs = {"pip-21.1.2-py3-none-any.whl","jieba", "urllib3-1.26.5-py3-none-any.whl","jieba","requests-2.25.1-py3-none-any.whl","numpy-1.19.5+vanilla-cp36-cp36m-win_amd64.whl",
        "Pillow-8.2.0-cp36-cp36m-win_amd64.whl","wordcloud-1.8.1-cp36-cp36m-win_amd64.whl",""};

try:
    for lib in libs:
        print("开始安装 {0}".format(lib));
        os.system("pip install " + lib);
        print("{} 安装成功".format(lib));
    print("全部安装成功");
except:
    print("Failed SomeHow");